/************************************************************************
 * The code is owned by mainframer.cn and Shang Tao
 * Without aproval of mainframer.cn and Shang Tao, removing the copyright
 * infomation is regarded as invassion of proprietary copyright
 ***********************************************************************/
package com.mr.qa.form;

import java.util.Date;

import org.apache.struts.upload.FormFile;

/**
 * @struts.form name="userForm"
 */
public class UserForm extends BaseForm {
	private String id;
	/** password property */
	private String password;

	/** latestLogonDate property */
	private Date latestLogonDate;

	/** mobile property */
	private String mobile;

	/** type property */
	private String type;

	private String group;

	/** loginName property */
	private String loginName;

	/** state property */
	private String state;

	/** email property */
	private String email;

	/** name property */
	private String name;

	private String signature;

	private String originalUrl;

	private String passwordQuestion;

	private String passwordAnswer;

	private boolean isSuper;

	private boolean isEmailPublic;

	private String loginStyle;

	private String permissions;// user category rights assigned

	private String findPasswordStyle = "1";

	private FormFile header;
	
	private String adminPassword;
	
	private String preURI;

	/**
	 * Returns the password.
	 * 
	 * @return String
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * Set the password.
	 * 
	 * @param password
	 *            The password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * Returns the latestLogonDate.
	 * 
	 * @return Date
	 */
	public Date getLatestLogonDate() {
		return latestLogonDate;
	}

	/**
	 * Set the latestLogonDate.
	 * 
	 * @param latestLogonDate
	 *            The latestLogonDate to set
	 */
	public void setLatestLogonDate(Date latestLogonDate) {
		this.latestLogonDate = latestLogonDate;
	}

	/**
	 * Returns the mobile.
	 * 
	 * @return String
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * Set the mobile.
	 * 
	 * @param mobile
	 *            The mobile to set
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * Returns the type.
	 * 
	 * @return String
	 */
	public String getType() {
		return type;
	}

	/**
	 * Set the type.
	 * 
	 * @param type
	 *            The type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * Returns the loginName.
	 * 
	 * @return String
	 */
	public String getLoginName() {
		return loginName;
	}

	/**
	 * Set the loginName.
	 * 
	 * @param loginName
	 *            The loginName to set
	 */
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	/**
	 * Returns the state.
	 * 
	 * @return String
	 */
	public String getState() {
		return state;
	}

	/**
	 * Set the state.
	 * 
	 * @param state
	 *            The state to set
	 */
	public void setState(String state) {
		this.state = state;
	}

	/**
	 * Returns the email.
	 * 
	 * @return String
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * Set the email.
	 * 
	 * @param email
	 *            The email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * Returns the name.
	 * 
	 * @return String
	 */
	public String getName() {
		return name;
	}

	/**
	 * Set the name.
	 * 
	 * @param name
	 *            The name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public String getSignature() {
		return signature;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setOriginalUrl(String originalUrl) {
		this.originalUrl = originalUrl;
	}

	public String getOriginalUrl() {
		return originalUrl;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public String getGroup() {
		return group;
	}

	public void setPasswordQuestion(String passwordQuestion) {
		this.passwordQuestion = passwordQuestion;
	}

	public String getPasswordQuestion() {
		return passwordQuestion;
	}

	public void setPasswordAnswer(String passwordAnswer) {
		this.passwordAnswer = passwordAnswer;
	}

	public String getPasswordAnswer() {
		return passwordAnswer;
	}

	public void setIsSuper(boolean isSuper) {
		this.isSuper = isSuper;
	}

	public boolean getIsSuper() {
		return isSuper;
	}

	public void setIsEmailPublic(boolean isEmailPublic) {
		this.isEmailPublic = isEmailPublic;
	}

	public boolean getIsEmailPublic() {
		return isEmailPublic;
	}

	public void setLoginStyle(String loginStyle) {
		this.loginStyle = loginStyle;
	}

	public String getLoginStyle() {
		return loginStyle;
	}

	public void setPermissions(String permissions) {
		this.permissions = permissions;
	}

	public String getPermissions() {
		return permissions;
	}

	public void setFindPasswordStyle(String findPasswordStyle) {
		this.findPasswordStyle = findPasswordStyle;
	}

	public String getFindPasswordStyle() {
		return findPasswordStyle;
	}
	
	public FormFile getHeader() {
		return header;
	}

	public void setHeader(FormFile header) {
		this.header = header;
	}

	public String getAdminPassword() {
		return adminPassword;
	}

	public void setAdminPassword(String adminPassword) {
		this.adminPassword = adminPassword;
	}

	public String getPreURI() {
		return preURI;
	}

	public void setPreURI(String preURI) {
		this.preURI = preURI;
	}
	
	
}
